package org.example.youdao_translation;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class YoudaoResponseBean {


    @SerializedName("tSpeakUrl")
    private String tSpeakUrl;
    @SerializedName("requestId")
    private String requestId;
    @SerializedName("query")
    private String query;
    @SerializedName("isDomainSupport")
    private Boolean isDomainSupport;
    @SerializedName("translation")
    private List<String> translation;
    @SerializedName("errorCode")
    private String errorCode;
    @SerializedName("l")
    private String l;
    @SerializedName("isWord")
    private Boolean isWord;

    public String getTSpeakUrl() {
        return tSpeakUrl;
    }

    public void setTSpeakUrl(String tSpeakUrl) {
        this.tSpeakUrl = tSpeakUrl;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public Boolean getIsDomainSupport() {
        return isDomainSupport;
    }

    public void setIsDomainSupport(Boolean isDomainSupport) {
        this.isDomainSupport = isDomainSupport;
    }

    public List<String> getTranslation() {
        return translation;
    }

    public void setTranslation(List<String> translation) {
        this.translation = translation;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getL() {
        return l;
    }

    public void setL(String l) {
        this.l = l;
    }

    public Boolean getIsWord() {
        return isWord;
    }

    public void setIsWord(Boolean isWord) {
        this.isWord = isWord;
    }
}
